/********************************************************************************
 * Project Name		[JavaEE_Web]
 * File Name     	[ELFunctions.java]
 * Creation Date 	[2015-01-01]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ********************************************************************************/
package jsp.el;

/**
 * 自定义EL函数
 * 
 * @author 不落的太阳(Sean Yang aka ShortPeace)
 * @version 1.0
 * @since jdk 1.8
 * 
 */
public class ELFunctions {

	/**
	 * 连接两个字符串
	 * 
	 * @param str1
	 * @param str2
	 * @return
	 */
	public static String concat(String str1, String str2) {
		return str1 + str2;
	}

	/**
	 * 字符串逆序
	 * 
	 * @param str
	 * @return
	 */
	public static String reverse(String str) {
		return new StringBuffer(str).reverse().toString();
	}
}
